from order import models
from rest_framework import serializers


class OrderSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.OrderModel
        fields = '__all__'


class OrderDetailSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.OrderDetailModel
        fields = '__all__'
